<?php
  include("../Includes/FusionCharts_Gen.php");
  include("../Includes/DBConn.php");
?>
<HTML xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en>
	<HEAD>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>UPLB DV</title>
		<script language="Javascript" src="../js/FusionCharts.js"></script>
		<link href="../css/960.css" rel="stylesheet" type="text/css" />
		<link href="../css/reset.css" rel="stylesheet" type="text/css" />
		<link href="../css/text.css" rel="stylesheet" type="text/css" />
		<link href="../css/style.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="../js/search.js"></script>

		<script type="text/javascript" src="../js/jquery-1.3.1.min.js"></script>
		<script type="text/javascript" src="../js/slide.js"></script>
		<script type="text/javascript" src="../js/loadgallery.js"></script>
		<link href="../css/slideshow.css" rel="stylesheet" type="text/css" />
		<link href="../css/table.css" rel="stylesheet" type="text/css" />

		<script type="text/javascript">
			/*
			function loadXMLDoc()
			{
			alert("value changed");
			}
			*/
		</script>
	</HEAD>

	<BODY>
	<CENTER>
			<?php				
				echo "<form action='v_percourseview.php' target='graph' method='post'>";
				echo "<center><table class='parameters' cellspacing='0' width='100%'>";
					echo "<tr>";
						echo "<td class='hed'>Per Course</td>";
					echo "</tr>";
					echo "<tr>";
						echo "<td>Course Number: <input type='text' name='courseCode' size='20' maxlength='10' value='$courseCode'/></td>";
					echo "</tr>";
					echo "<tr>";
						echo "<td class='hed'>Academic Year</td>";
					echo "</tr>";
					echo "<tr>";
						echo "<td>From <input type='text' name='startAY' size='4' maxlength='4' value='$startAY' />";
						echo "To <input type='text' name='endAY' size='4' maxlength='4' value='$endAY' /></td>";
					echo "</tr>";
					echo "<tr>";
						echo "<td class='hed'><center>VS</center></td>";
					echo "</tr>";
					echo "<tr>";
						echo "<td><center><select name='yAxis'>";
							echo "<option value='passingRate'>Passing Rate</option>";
							echo "<option value='grade_1_00'>Frequency of 1.0</option>";
							echo "<option value='grade_1_25'>Frequency of 1.25</option>";
							echo "<option value='grade_1_50'>Frequency of 1.5</option>";
							echo "<option value='grade_1_75'>Frequency of 1.75</option>";
							echo "<option value='grade_2_00'>Frequency of 2.0</option>";
							echo "<option value='grade_2_25'>Frequency of 2.25</option>";
							echo "<option value='grade_2_50'>Frequency of 2.5</option>";
							echo "<option value='grade_2_75'>Frequency of 2.75</option>";
							echo "<option value='grade_3_00'>Frequency of 3.0</option>";
							echo "<option value='grade_4_00'>Frequency of 4.0</option>";
							echo "<option value='grade_5_00'>Frequency of 5.0</option>";
							echo "<option value='grade_S'>Frequency of S</option>";
							echo "<option value='grade_U'>Frequency of U</option>";
							echo "<option value='grade_INC'>Frequency of INC</option>";
							echo "<option value='grade_DRP'>Frequency of DRP</option>";
						echo "</select>";
						echo "</center></td>";
					echo "</tr>";
					echo "<tr>";
						echo "<td class='hed'>Select Graph</td>";
					echo "</tr>";
					echo "<tr>";
						echo "<td><center><select name='graph' onchange='loadXMLDoc()'>";
							echo "<option value='Column2D'>Vertical Bar Graph 2D</option>";
							echo "<option value='Column3D'>Vertical Bar Graph 3D</option>";
							echo "<option value='Bar2D'>Horizontal Bar Graph 2D</option>";
							echo "<option value='Line'>Line Graph</option>";
							echo "<option value='Area2D'>Line Graph with Area</option>";
							echo "<option value='Pie3D'>Pie Chart 3D</option>";
							echo "<option value='MSColumn3D'>Multi-Series Column 3D</option>";
						echo "</select></center></td>";
					echo "</tr>";
					echo "<tr>";
						echo "<td><center><input type='submit' value='Generate Graph'/></center></td>";
					echo "</tr>";
				echo "</table></center>";
				echo "</form>";
			?>
	</CENTER>
	</BODY>
</HTML>